package com.luoye.lj.util.codegenerator;

/**
 * Created with IntelliJ IDEA.
 *
 * @author dave_suwei
 * @date 2019/6/22 20:53
 */
@Deprecated
public class CodeGeneratorConfig {

    /**
     * 数据源地址
     **/
    private String url;
    /**
     * 驱动
     **/
    private String driverName = "com.mysql.jdbc.Driver";
    /**
     * 数据库用户名
     **/
    private String username = "root";
    /**
     * 数据库密码
     **/
    private String password = "root";
    /**
     * 表前缀
     **/
    private String tablePreFix = "t_";
    /**
     * 要生成的表
     **/
    private String[] include;
    /**
     * 父包
     **/
    private String parent = "com.luo";
    /**
     * 项目绝对路径
     */
    private String projectPath;
    /**
     * 作者
     **/
    private String author;

    public CodeGeneratorConfig(String url, String driverName, String username, String password, String tablePreFix, String[] include, String parent, String projectPath, String author) {
        this.url = url;
        this.driverName = driverName;
        this.username = username;
        this.password = password;
        this.tablePreFix = tablePreFix;
        this.include = include;
        this.parent = parent;
        this.projectPath = projectPath;
        this.author = author;
    }

    public CodeGeneratorConfig() {
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTablePreFix() {
        return tablePreFix;
    }

    public void setTablePreFix(String tablePreFix) {
        this.tablePreFix = tablePreFix;
    }

    public String[] getInclude() {
        return include;
    }

    public void setInclude(String[] include) {
        this.include = include;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getProjectPath() {
        return projectPath;
    }

    public void setProjectPath(String projectPath) {
        this.projectPath = projectPath;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
